* {
  transition: all 0.4s;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
*::before {
  box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}
body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: hidden;
}
.code-wrapper {
  flex: 1;
  height: 40%;
  padding: 12px;
  padding-right: 0px;
  background-color: #f8f8f8;
}
#code {
  overflow: hidden;
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
}
.preview-wrapper {
  flex: 1;
  height: 60%;
}
.actions {
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.actions > button {
  background: #ddd;
  padding: 8px 10px;
  border: none;
  margin-bottom: 10px;
  cursor: pointer;
  outline: none;
}
.actions > button.active {
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}
